package com.zhang.family_doctor.mapper;

import com.zhang.family_doctor.entity.TeamTag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeamTagMapper {

    /**
     * 多条插入团队标签表
     * @param teamTagList
     */
    void save(@Param("teamTagList")List<TeamTag> teamTagList);

    /**
     * 清除团队标签
     * @param teamId
     */
    void delete(Integer teamId);

    /**
     * 根据teamId查询出标签
     * @param teamId
     * @return
     */
    List<String> getTeamTagByTeamId(Integer teamId);

}